import tailwindcss from '@tailwindcss/vite'

export default defineNuxtConfig({
  compatibilityDate: '2025-07-15',
  devtools: { enabled: true },
  modules: ['@nuxt/eslint', '@vueuse/nuxt', '@nuxt/ui', '@vueuse/motion/nuxt', '@nuxt/image'],
  vite: {
    plugins: [tailwindcss()]
  },
  css: ['./app/assets/css/main.css'],
  ui: {
    fonts: false,
    theme: {
      defaultVariants: {
        color: 'secondary'
      }
    }
  },
  imports: {
    dirs: ['shared/enum']
  },
  routeRules: {
    '/': { redirect: '/case' }
  }
})
